package entity;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 异常追踪表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "异常追踪表")
public class ExceptionTracking implements Serializable {
    @Schema(description = "异常ID")
    private Integer exceptionId;
    @Schema(description = "异常编号")
    private String exceptionNumber;
    @Schema(description = "异常类型")
    private String processType;
    @Schema(description = "异常状态")
    private String currentStatus;
    @Schema(description = "报告人")
    private String reporter;
    @Schema(description = "报告时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime reportTime;
    @Schema(description = "异常描述")
    private String description;
    @Schema(description = "处理意见")
    private String processComment;
    @Schema(description = "处理结果")
    private String processResult;
    @Schema(description = "关联检测记录ID")
    private Integer inspectionId;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateTime;
    @Schema(description = "优先级")
    private String priority;
}